/****数据库连接池模块****/
const mysql = require("mysql");
const pool = mysql.createPool({
  host: "127.0.0.1",
  port: "3306",
  user: "root", // 必需
  password: "123456", // 连服务器时记得改密码
  connectionLimit: 20, //最大连接数
  database: "mcyz", // 必需
});
module.exports = pool;
